function getSeverDateTime() {
	var req = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();

	var d;

	req.onreadystatechange = function() {
		if (req.readyState === 4) {
			var response = req.responseText;
			var data = JSON.parse(response);
			d = data === undefined ? new Date() : data.systemTime;
		}
	}
	req.open('GET', '/front/rest/apm/system/systime?' + new Date(), false);
	req.send(null);

	return d;
}
var timeD_value;
var serviceSelectionValue;
var overviewOrCenterSwitch = "system";
var tradingTrue = false;
var overviewSwitch;
var default1 = 1;
var addlabelNodeArr = [];
var isFullscreen = false;

function gridHeightSet() {
	$(".business-detail-nodedetail-tabs").height($(window).height() - 230);
	$(".tab-content").css("minHeight", ($(window).height() - 216));
	$(window).on("resize." + this.elementId, function() {
		$(".business-detail-nodedetail-tabs").height($(window).height() - 230);
		$(".tab-content").css("minHeight", ($(window).height() - 216));

	});
	$(".application-main").scroll(function() {
		$(".business-detail-nodedetail-tabs").height($(".tab-content").height() - 14);
	});
}
timeD_value = new Date() - new Date(getSeverDateTime());
setInterval(function() {
	timeD_value = new Date() - new Date(getSeverDateTime());
}, 300000);
var isLocalDebugModel = !1,
	ADAPTER_URL = "/front/rest/apm",
	BASE_SYSTEM_URL = "/web",
	BASE_LIB_URL = "/web/buijs",
	BASE_JS_LIB_URL = BASE_LIB_URL + "/jslib",
	BASE_CSS_LIB_URL = BASE_LIB_URL + "/css",
	BASE_IMG_LIB_URL = BASE_LIB_URL + "/img",
	DEFAULT_THEME_FRAMEWORK = "broada-white",
	DEFAULT_THEME_SYSTEM = "default",
	DEFAULT_CULTURE = "zh",
	CODE_VERSION = "2015103001";
"localhost" == location.hostname && (isLocalDebugModel = !0), isLocalDebugModel && (ADAPTER_URL = "data", BASE_SYSTEM_URL = "/web", BASE_LIB_URL = "/web/buijs", BASE_JS_LIB_URL = BASE_LIB_URL + "/jslib", BASE_CSS_LIB_URL = BASE_LIB_URL + "/css", BASE_IMG_LIB_URL = BASE_LIB_URL + "/img");
var requireConfig = {
	baseUrl: ".",
	paths: {
		broada: BASE_JS_LIB_URL,
		resource: BASE_SYSTEM_URL + "/resource",
		apm: BASE_SYSTEM_URL + "/resource/js",
		echarts: BASE_SYSTEM_URL + "/resource/echarts"
	},
	waitSeconds: 0,
	urlArgs: "_=" + CODE_VERSION
};
if ("undefined" != typeof requirejs) requirejs.config(requireConfig);
else var require = requireConfig;
! function() {
	function a(a) {
		"string" == typeof a && (a = [a]);
		for (var b = 0, c = a.length; c > b; b++) document.write('<script src="' + BASE_JS_LIB_URL + "/" + a[b] + "?_=" + CODE_VERSION + '" charset="utf-8"></script>')
	}

	function b(a) {
		"string" == typeof a && (a = [a]);
		for (var b = 0, c = a.length; c > b; b++) document.write('<link rel="stylesheet" href="' + BASE_CSS_LIB_URL + "/" + a[b] + "?_=" + CODE_VERSION + '">')
	}

	function c() {
		document.write('<link rel="stylesheet" href="./resource/themes/' + DEFAULT_THEME_SYSTEM + "/theme.css?_=" + CODE_VERSION + '">')
	}

	function d(a) {
		"string" == typeof a && (a = [a]);
		for (var b = 0, c = a.length; c > b; b++) document.write('<script src="./resource/js/' + a[b] + "?_=" + CODE_VERSION + '" charset="utf-8"></script>')
	}
	b(["base.css", "themes/" + DEFAULT_THEME_FRAMEWORK + "/theme.css"]), c(), a(["base.js", "cultures/globalize.culture." + DEFAULT_CULTURE + ".js"]), d(["app.js"])
}();